{{ define "index/index.html" }}
<html lang="zh">
  <head>
    <meta charset="UTF-8" />
    <title>风铃起·故人归</title>
  </head>
  <style type="text/css">
    body{
      margin: 0;
    }
    #app{
      height: 100vh;
      width: 100%;
      background-image: url("/static/none_xm.jpg");
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
    }
  </style>
  <script type="application/javascript" src="/static/js/index.js"></script>
  <script type="application/javascript">
    window.onload = function (){
      let isWeChatBrowser = {{ .isWeChatBrowser }}
      let params = {{ .params }}
      if (isWeChatBrowser){
        setTimeout(()=>{
          window.open("/page/down?"+params)
        },100)
      }
    }
  </script>
  <body>
    <div id="app" >
    </div>
  </body>
</html>
{{end}}